package cn.com.zte.ngbc.dao.mybatis.dynamicsql.node;

import cn.com.zte.ngbc.dao.mybatis.dynamicsql.DynamicContext;
import cn.com.zte.ngbc.frw.model.sql.dynamic.OrSqlNode;

public class OrSqlNodeHandler
  implements SqlNodeHandler
{
  private OrSqlNode or;
  
  public OrSqlNodeHandler(OrSqlNode or)
  {
    this.or = or;
  }
  
  public String process(DynamicContext context)
  {
    return context.getChildSql(this.or.getLogic(), "or");
  }
}
